package com.group.project.hrms.utils;

import java.util.UUID;

public class UUIDUtil {

    /**
     * 获取10位随机数作为所有单据在本系统的ID
     * @return 10随机数
     */
    public static String createUUID(){
        return UUID.randomUUID().toString().replaceAll("-","").substring(0,10);
    }
}
